<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ include file="/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广东工业大学招生办后台管理</title>
<script language="javascript" type="text/javascript" src="${ctx }/js/checkbox.js"></script>
<script language="javascript">
function delcfm(){
	if (confirm("确定删除？")){
				return true;
		}else{
			return false;
	}
}
function show(){
	document.getElementById("modifyLink").style.display = "none";
	document.getElementById("modifyMain").style.display = "block";
	return false;
}
</script>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="6%" height="19" valign="bottom"><div align="center"><img src="${ctx}/images/tb.gif" width="14" height="14" /></div></td>
                <td width="94%" valign="bottom"><span class="STYLE1">当前专题入口</span></td>
              </tr>
            </table></td>
            <td><div align="right"><span class="STYLE1"></span><span class="STYLE1"> &nbsp;</span></div></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>
	
	<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
      <tr>
        <td width="2%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">序号</span></div></td>
        <td width="6%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">入口标题</span></div></td>
        <td width="13%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">入口图片</span></div></td>
        <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">时间</span></div></td>
		<td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">操作</span></div></td>
      </tr>
      <tr>
        <td height="20" bgcolor="#FFFFFF" class="STYLE6"><div align="center"><span class="STYLE19">1</span></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${entity.title}</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><img src="${ctx }/images/${entity.url}" width="598" height="43"  /></div></td>
		<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${entity.inputTime}</div></td>
        <td height="20" bgcolor="#FFFFFF">
        	<div align="center" class="STYLE21" id="modifyLink"><a href="#" onClick="return show()">替换 </a></div>
        	<div align="left" id="modifyMain" style="display:none">
				<form action="${ctx }/admin/special-picture-admin!changePic.action" method="post">
				请选择新入口：<br />
				<s:iterator value="pictures">
				<input type="radio" name="id"  value="${id}" id="projectIn1"  <s:if test="status==1"> checked="checked"</s:if>/><label style="font-size:12px;" >${title }</label><br />
				</s:iterator>
				<input type="submit" value="确定" />
				</form>
			</div>
        </td>

      </tr>
    </table>
	
	</td>
  </tr>

</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="6%" height="19" valign="bottom"><div align="center"><img src="${ctx }/images/tb.gif" width="14" height="14" /></div></td>
                <td width="94%" valign="bottom"><span class="STYLE1">专题入口列表</span></td>
              </tr>
            </table></td>
            <td><div align="right"><span class="STYLE1">
            <!--   <a href="subjectIn-post.html" style="text-decoration:none;color:#fff"><img src="images/add.gif" width="10" height="10"  /> 添加   &nbsp; </a>
			  <a href="#" style="text-decoration:none;color:#fff" onClick="return delcfm()" ><img src="images/del.gif" width="10" height="10" /> 批量删除    &nbsp;</a> -->
			  </span><span class="STYLE1"> &nbsp;</span></div></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>
	<form>
	<table width="85%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
      <tr>
        <td width="2%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">序号</span></div></td>
        <td width="7%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">入口标题</span></div></td>
        <td width="12%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">入口图片</span></div></td>
        <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">时间</span></div></td>
      </tr><%int i=1; %>
      <s:iterator value="pictures" status="status">
      <tr>
        <td height="20" bgcolor="#FFFFFF" class="STYLE6"><div align="center"><span class="STYLE19"><%=i++ %></span></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${title}</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><img src="${ctx }/images/${url}" width="598" height="43"  /></div></td>
		<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${inputTime}</div></td>
      </tr>
	  </s:iterator>
    </table>
	</form>
	</td>
  </tr>

</table>
</body>
</html>
